using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DangKyHocPhanEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: DangKyHocPhanEntity</para>
	/// <para>Description: ClassDangKyHocPhanEntity store data of table DangKyHocPhan</para>
	///</summary>

	[DataContract]
	public partial class DangKyHocPhanEntity{


		private bool _InternalChangedIsNullDangKyHocPhan_ID=true;
		private bool _IsNullDangKyHocPhan_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullNgayDangKy=true;
		private bool _IsNullNgayDangKy=true;
		private int _DangKyHocPhan_ID;
		private int _SinhVien_ID;
		private int _HocKy_ID;
		private int _NamHoc_ID;
		private int _MonHoc_ID;
		private DateTime _NgayDangKy;
		[DataMember]
		public bool IsNullDangKyHocPhan_ID{
			get{return _IsNullDangKyHocPhan_ID;}
			set{if(!_InternalChangedIsNullDangKyHocPhan_ID)_IsNullDangKyHocPhan_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullNgayDangKy{
			get{return _IsNullNgayDangKy;}
			set{if(!_InternalChangedIsNullNgayDangKy)_IsNullNgayDangKy=value;}
		}
		[DataMember]
		public int DangKyHocPhan_ID{
			get{return _DangKyHocPhan_ID;}
			set{
				_DangKyHocPhan_ID=value;
				if(_DangKyHocPhan_ID!=null){
					_IsNullDangKyHocPhan_ID=false;
					_InternalChangedIsNullDangKyHocPhan_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayDangKy{
			get{return _NgayDangKy;}
			set{
				_NgayDangKy=value;
				if(_NgayDangKy!=null){
					_IsNullNgayDangKy=false;
					_InternalChangedIsNullNgayDangKy=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DangKyHocPhanEntityBase*****************************************/
	/*****************************************************************************************************/
}

